package com.jianyun.jyzs.model.imdoel;

import com.jianyun.jyzs.bean.OaAppBean;
import com.jianyun.jyzs.bean.OaCustomBean;
import com.jianyun.jyzs.bean.TopBrodCastBean;

import java.util.List;

/**
 * Created by yangshijun on 2018/10/23.
 */

public interface INewCustomModel {

    void onGetServiceJson(String url, OnGetCustomLisener onGetCustomLisener);

    void getTopcaset(String Url, OnGetTopCastListener onGetTopCastListener);

    interface OnGetCustomLisener {
        void onSuccess(OaCustomBean oaCustomBean);

        void onSuccess2(List<OaAppBean> oaBeanList);

        void onFailed();
    }

    interface OnGetTopCastListener {
        void onGetTopImgSuccess(TopBrodCastBean topBrodCastBean);

        void onFailed();
    }
}
